package com.shengqiang.zhenhuiTransfer.entity;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.FieldFill;
import com.baomidou.mybatisplus.enums.FieldStrategy;
import com.baomidou.mybatisplus.enums.IdType;
import lombok.Data;

@Data
@TableName("t_order")
public class Order {

    @TableId(type = IdType.ID_WORKER_STR)
    private String orderId;

    private String  title;

    private String desc;

    private double price;

    private double weight;

    private double total;

    private double received;

    private double advance;

    private String transferDate;

    private int type;

    private String adder;

    private String updater;

    @TableField( value = "createTime",fill = FieldFill.INSERT_UPDATE)
    private String createTime;
}
